package com.donghaiair.business.doc.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 公文主本信息（主表）
 * </p>
 *
 * @author Tyler
 * @since 2017-12-01
 */
@TableName("T_DOC")
public class TDoc extends Model<TDoc> {

	private static final long serialVersionUID = 1L;

	/**
	 * 序列号
	 */
	@TableField("SEQ")
	private Long seq;
	/**
	 * id
	 */
	@TableId("ID")
	private String id;
	/**
	 * 公文标题
	 */
	@TableField("DOC_TITLE")
	private String docTitle;
	/**
	 * 密级程度
	 */
	@TableField("DOC_DENSE_TYPE")
	private String docDenseType;
	/**
	 * 密级程度code
	 */
	@TableField("DOC_DENSE_TYPE_CODE")
	private String docDenseTypeCode;
	/**
	 * 重要程度
	 */
	@TableField("DOC_IMPORT_TYPE")
	private String docImportType;
	/**
	 * 重要程度code
	 */
	@TableField("DOC_IMPORT_TYPE_CODE")
	private String docImportTypeCode;
	/**
	 * 公文分类
	 */
	@TableField("DOC_TYPE_CODE")
	private String docTypeCode;
	/**
	 * 接收人ID
	 */
	@TableField("RECI_USER_ID")
	private String reciUserId;
	/**
	 * 接收人姓名
	 */
	@TableField("RECI_USER_NAME")
	private String reciUserName;
	/**
	 * 接收人部门id
	 */
	@TableField("RECI_DEPT_ID")
	private String reciDeptId;
	/**
	 * 接收人部门名称
	 */
	@TableField("RECI_DEPT_NAME")
	private String reciDeptName;
	/**
	 * 接收人所在部门的主部门id
	 */
	@TableField("RECI_DEPT_MAJOR_ID")
	private String reciDeptMajorId;
	/**
	 * 接收人所在部门的主部门i名称
	 */
	@TableField("RECI_DEPT_MAJOR_NAME")
	private String reciDeptMajorName;
	/**
	 * 呈报人ID
	 */
	@TableField("TASK_USER_ID")
	private String taskUserId;
	/**
	 * 呈报人姓名
	 */
	@TableField("TASK_USER_NAME")
	private String taskUserName;
	/**
	 * 呈报人部门id
	 */
	@TableField("TASK_DEPT_ID")
	private String taskDeptId;
	/**
	 * 呈报人部门名称
	 */
	@TableField("TASK_DEPT_NAME")
	private String taskDeptName;
	/**
	 * 呈报人所在部门的主部门id
	 */
	@TableField("TASK_DEPT_MAJOR_ID")
	private String taskDeptMajorId;
	/**
	 * 呈报人所在部门的主部门i名称
	 */
	@TableField("TASK_DEPT_MAJOR_NAME")
	private String taskDeptMajorName;
	/**
	 * 建议路径
	 */
	@TableField("SUGGEST_PATH")
	private String suggestPath;
	/**
	 * 公文编号
	 */
	@TableField("DOC_NO")
	private String docNo;
	@TableField("TASK_CONTENT")
	private String taskContent;
	/**
	 * 审批人职级id
	 */
	@TableField("TASK_POSTRANK_ID")
	private String taskPostrankId;
	/**
	 * 审批人职称名
	 */
	@TableField("TASK_JOBTITLE")
	private String taskJobtitle;
	/**
	 * 审批人安全级别, 某人的安全级别. 以此为准. (大多数情况下为postrank中默认的安全级别)
	 */
	@TableField("TASK_SUPERVISORY_LEVEL")
	private String taskSupervisoryLevel;
	/**
	 * 接收人职级id
	 */
	@TableField("RECI_POSTRANK_ID")
	private String reciPostrankId;
	/**
	 * 接收人职称名
	 */
	@TableField("RECI_JOBTITLE")
	private String reciJobtitle;
	/**
	 * 接收人安全级别, 某人的安全级别. 以此为准. (大多数情况下为postrank中默认的安全级别)
	 */
	@TableField("RECI_SUPERVISORY_LEVEL")
	private String reciSupervisoryLevel;
	/**
	 * 审批人职级名称
	 */
	@TableField("TASK_POSTRANK_NAME")
	private String taskPostrankName;
	/**
	 * 接收人职级名称
	 */
	@TableField("RECI_POSTRANK_NAME")
	private String reciPostrankName;
	/**
	 * 审批人任职信息表id(t_emp_post)
	 */
	@TableField("TASK_EMP_POST_ID")
	private String taskEmpPostId;
	/**
	 * 接收人任职信息表id(t_emp_post)
	 */
	@TableField("RECI_EMP_POST_ID")
	private String reciEmpPostId;

	@TableField(exist = false)
	private Integer pushType;
	/**
	 * 推送类型分类
	 */
	@TableField(exist = false)
	private Integer pushTypeCode;

	public Integer getPushType() {
		return pushType;
	}

	public void setPushType(Integer pushType) {
		this.pushType = pushType;
	}

	public Integer getPushTypeCode() {
		return pushTypeCode;
	}

	public void setPushTypeCode(Integer pushTypeCode) {
		this.pushTypeCode = pushTypeCode;
	}

	public Long getSeq() {
		return seq;
	}

	public void setSeq(Long seq) {
		this.seq = seq;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDocTitle() {
		return docTitle;
	}

	public void setDocTitle(String docTitle) {
		this.docTitle = docTitle;
	}

	public String getDocDenseType() {
		return docDenseType;
	}

	public void setDocDenseType(String docDenseType) {
		this.docDenseType = docDenseType;
	}

	public String getDocDenseTypeCode() {
		return docDenseTypeCode;
	}

	public void setDocDenseTypeCode(String docDenseTypeCode) {
		this.docDenseTypeCode = docDenseTypeCode;
	}

	public String getDocImportType() {
		return docImportType;
	}

	public void setDocImportType(String docImportType) {
		this.docImportType = docImportType;
	}

	public String getDocImportTypeCode() {
		return docImportTypeCode;
	}

	public void setDocImportTypeCode(String docImportTypeCode) {
		this.docImportTypeCode = docImportTypeCode;
	}

	public String getDocTypeCode() {
		return docTypeCode;
	}

	public void setDocTypeCode(String docTypeCode) {
		this.docTypeCode = docTypeCode;
	}

	public String getReciUserId() {
		return reciUserId;
	}

	public void setReciUserId(String reciUserId) {
		this.reciUserId = reciUserId;
	}

	public String getReciUserName() {
		return reciUserName;
	}

	public void setReciUserName(String reciUserName) {
		this.reciUserName = reciUserName;
	}

	public String getReciDeptId() {
		return reciDeptId;
	}

	public void setReciDeptId(String reciDeptId) {
		this.reciDeptId = reciDeptId;
	}

	public String getReciDeptName() {
		return reciDeptName;
	}

	public void setReciDeptName(String reciDeptName) {
		this.reciDeptName = reciDeptName;
	}

	public String getReciDeptMajorId() {
		return reciDeptMajorId;
	}

	public void setReciDeptMajorId(String reciDeptMajorId) {
		this.reciDeptMajorId = reciDeptMajorId;
	}

	public String getReciDeptMajorName() {
		return reciDeptMajorName;
	}

	public void setReciDeptMajorName(String reciDeptMajorName) {
		this.reciDeptMajorName = reciDeptMajorName;
	}

	public String getTaskUserId() {
		return taskUserId;
	}

	public void setTaskUserId(String taskUserId) {
		this.taskUserId = taskUserId;
	}

	public String getTaskUserName() {
		return taskUserName;
	}

	public void setTaskUserName(String taskUserName) {
		this.taskUserName = taskUserName;
	}

	public String getTaskDeptId() {
		return taskDeptId;
	}

	public void setTaskDeptId(String taskDeptId) {
		this.taskDeptId = taskDeptId;
	}

	public String getTaskDeptName() {
		return taskDeptName;
	}

	public void setTaskDeptName(String taskDeptName) {
		this.taskDeptName = taskDeptName;
	}

	public String getTaskDeptMajorId() {
		return taskDeptMajorId;
	}

	public void setTaskDeptMajorId(String taskDeptMajorId) {
		this.taskDeptMajorId = taskDeptMajorId;
	}

	public String getTaskDeptMajorName() {
		return taskDeptMajorName;
	}

	public void setTaskDeptMajorName(String taskDeptMajorName) {
		this.taskDeptMajorName = taskDeptMajorName;
	}

	public String getSuggestPath() {
		return suggestPath;
	}

	public void setSuggestPath(String suggestPath) {
		this.suggestPath = suggestPath;
	}

	public String getDocNo() {
		return docNo;
	}

	public void setDocNo(String docNo) {
		this.docNo = docNo;
	}

	public String getTaskContent() {
		return taskContent;
	}

	public void setTaskContent(String taskContent) {
		this.taskContent = taskContent;
	}

	public String getTaskPostrankId() {
		return taskPostrankId;
	}

	public void setTaskPostrankId(String taskPostrankId) {
		this.taskPostrankId = taskPostrankId;
	}

	public String getTaskJobtitle() {
		return taskJobtitle;
	}

	public void setTaskJobtitle(String taskJobtitle) {
		this.taskJobtitle = taskJobtitle;
	}

	public String getTaskSupervisoryLevel() {
		return taskSupervisoryLevel;
	}

	public void setTaskSupervisoryLevel(String taskSupervisoryLevel) {
		this.taskSupervisoryLevel = taskSupervisoryLevel;
	}

	public String getReciPostrankId() {
		return reciPostrankId;
	}

	public void setReciPostrankId(String reciPostrankId) {
		this.reciPostrankId = reciPostrankId;
	}

	public String getReciJobtitle() {
		return reciJobtitle;
	}

	public void setReciJobtitle(String reciJobtitle) {
		this.reciJobtitle = reciJobtitle;
	}

	public String getReciSupervisoryLevel() {
		return reciSupervisoryLevel;
	}

	public void setReciSupervisoryLevel(String reciSupervisoryLevel) {
		this.reciSupervisoryLevel = reciSupervisoryLevel;
	}

	public String getTaskPostrankName() {
		return taskPostrankName;
	}

	public void setTaskPostrankName(String taskPostrankName) {
		this.taskPostrankName = taskPostrankName;
	}

	public String getReciPostrankName() {
		return reciPostrankName;
	}

	public void setReciPostrankName(String reciPostrankName) {
		this.reciPostrankName = reciPostrankName;
	}

	public String getTaskEmpPostId() {
		return taskEmpPostId;
	}

	public void setTaskEmpPostId(String taskEmpPostId) {
		this.taskEmpPostId = taskEmpPostId;
	}

	public String getReciEmpPostId() {
		return reciEmpPostId;
	}

	public void setReciEmpPostId(String reciEmpPostId) {
		this.reciEmpPostId = reciEmpPostId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "TDoc{" + "seq=" + seq + ", id=" + id + ", docTitle=" + docTitle + ", docDenseType=" + docDenseType
				+ ", docDenseTypeCode=" + docDenseTypeCode + ", docImportType=" + docImportType + ", docImportTypeCode="
				+ docImportTypeCode + ", docTypeCode=" + docTypeCode + ", reciUserId=" + reciUserId + ", reciUserName="
				+ reciUserName + ", reciDeptId=" + reciDeptId + ", reciDeptName=" + reciDeptName + ", reciDeptMajorId="
				+ reciDeptMajorId + ", reciDeptMajorName=" + reciDeptMajorName + ", taskUserId=" + taskUserId
				+ ", taskUserName=" + taskUserName + ", taskDeptId=" + taskDeptId + ", taskDeptName=" + taskDeptName
				+ ", taskDeptMajorId=" + taskDeptMajorId + ", taskDeptMajorName=" + taskDeptMajorName + ", suggestPath="
				+ suggestPath + ", docNo=" + docNo + ", taskContent=" + taskContent + ", taskPostrankId="
				+ taskPostrankId + ", taskJobtitle=" + taskJobtitle + ", taskSupervisoryLevel=" + taskSupervisoryLevel
				+ ", reciPostrankId=" + reciPostrankId + ", reciJobtitle=" + reciJobtitle + ", reciSupervisoryLevel="
				+ reciSupervisoryLevel + ", taskPostrankName=" + taskPostrankName + ", reciPostrankName="
				+ reciPostrankName + ", taskEmpPostId=" + taskEmpPostId + ", reciEmpPostId=" + reciEmpPostId + "}";
	}
}
